package com.zhouyu.fileSync.FSclient.entities;

import com.zhouyu.fileSync.FScommon.common.Configs;
import com.zhouyu.fileSync.FScommon.entities.FSClient;
import com.zhouyu.fileSync.FScommon.entities.FSServer;

import java.util.ArrayList;
import java.util.List;


/**
 * Created by zhouyu74748585@hotmail.com on 2019/9/5
 * client config object
 **/
public class ClientConfigs extends Configs {
    public FSServer SERVER;
    public FSClient CLIENT;
    public List<FSClient> TARGETS = new ArrayList<>();
    public int MAX_ACTIVE;

    public ClientConfigs() {
    }

    public ClientConfigs(FSServer SERVER, FSClient CLIENT, List<FSClient> TARGETS, int MAX_ACTIVE) {
        this.SERVER = SERVER;
        this.CLIENT = CLIENT;
        this.TARGETS = TARGETS;
        this.MAX_ACTIVE = MAX_ACTIVE;
    }

    public FSServer getSERVER() {
        return SERVER;
    }

    public void setSERVER(FSServer SERVER) {
        this.SERVER = SERVER;
    }

    public FSClient getCLIENT() {
        return CLIENT;
    }

    public void setCLIENT(FSClient CLIENT) {
        this.CLIENT = CLIENT;
    }

    public List<FSClient> getTARGETS() {
        return TARGETS;
    }

    public void setTARGETS(List<FSClient> TARGETS) {
        this.TARGETS = TARGETS;
    }

    public int getMAX_ACTIVE() {
        return MAX_ACTIVE;
    }

    public void setMAX_ACTIVE(int MAX_ACTIVE) {
        this.MAX_ACTIVE = MAX_ACTIVE;
    }
}
